package fr.umlv.m2.jee.spij.persistence.education;

import javax.persistence.Column;
import javax.persistence.Lob;
import javax.persistence.MappedSuperclass;

/**
 * Superclass Practice who contain information about practice.
 *
 * @author Lounes Akroune
 * @author Aurelien Scelles
 */
@MappedSuperclass
public abstract class Practice extends Education {

    /**
     * Contain of practice.
     */
    @Lob
    @Column(name = "PRA_CONTAIN")
    private String contain;

    /**
     * Correction of practice.
     */
    @Lob
    @Column(name = "PRA_CORRECTION")
    private String correction;

    /**
     * Link of practice in PDF.
     */
    @Column(name = "PRA_LINK_SUPPORT")
    private String linkSupport;

    /**
     * Link of correction in PDF.
     */
    @Column(name = "PRA_LINK_CORRECTION")
    private String linkCorrection;

    /**
     * Setter of contain.
     *
     * @param contain
     */
    public void setContain(String contain) {
        this.contain = contain;
    }

    /**
     * Getter of contain.
     *
     * @return contain
     */
    public String getContain() {
        return contain;
    }

    /**
     * Setter of linkSupport.
     *
     * @param linkSupport
     */
    public void setLinkSupport(String linkSupport) {
        this.linkSupport = linkSupport;
    }

    /**
     * Getter of linkSupport.
     *
     * @return link of the Practice in PDF
     */
    public String getLinkSupport() {
        return linkSupport;
    }

    /**
     * Setter of correction.
     *
     * @param correction
     */
    public void setCorrection(String correction) {
        this.correction = correction;
    }

    /**
     * Getter of correction.
     *
     * @return correction
     */
    public String getCorrection() {
        return correction;
    }

    /**
     * Setter of linkCorrection.
     *
     * @param linkCorrection
     */
    public void setLinkCorrection(String linkCorrection) {
        this.linkCorrection = linkCorrection;
    }

    /**
     * Getter of linkCorrection.
     *
     * @return link of correction in PDF
     */
    public String getLinkCorrection() {
        return linkCorrection;
    }

}
